package com.api.shopapi.service.impl;

import com.api.shopapi.entity.RobotPlace;
import com.api.shopapi.entity.Togwatch;
import com.api.shopapi.entity.views.TypesCall;
import com.api.shopapi.mapper.TogwatchMapper;
import com.api.shopapi.service.TogwatchService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.*;

@Service("TogwatchServiceImplOne")
public class TogwatchServiceImpl implements TogwatchService {

    @Autowired
    private TogwatchMapper togwatchMapper;
    @Override
    public List<Togwatch> getTogwatch(String userId ) {

        return togwatchMapper.getTogwatch(userId);
    }

    @Override
    public List<String> getUserId() {
        return togwatchMapper.getUserId();
    }

    @Override
    public int getStepsCount(String userId) {
        return togwatchMapper.getStepsCount(userId);
    }

    @Override
    public List<TypesCall> getTyps(String userId) {
        return togwatchMapper.getTyps(userId);
    }

    @Override
    public List<String> getRobotUserId() {
        return togwatchMapper.getRobotUserId();
    }

    @Override
    public List<RobotPlace> getRobotPlace(String userId) {
        return togwatchMapper.getRobotPlace(userId);
    }

}
